//
//  XHTrafficUserDetailCell.h
//  umibus
//
//  Created by 冷山 on 16/6/17.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XHTrafficUserDetailCell;

@protocol XHTrafficUserDetailCellDelegate  <NSObject>

- (void)useTrafficAction:(UIButton*)button;

- (void)cell:(XHTrafficUserDetailCell*)cell addAction:(id)sender;

- (void)cell:(XHTrafficUserDetailCell*)cell deleteAction:(id)sender;

@end

static NSString * const XHTrafficUserDetailCellIdentifier = @"XHTrafficUserDetailCellIdentifier";

@interface XHTrafficUserDetailCell : UITableViewCell

@property (assign, nonatomic) id<XHTrafficUserDetailCellDelegate>delegate;
@property (weak, nonatomic) IBOutlet UILabel *ui_operator;
@property (weak, nonatomic) IBOutlet UIButton *ui_useButton;
@property (weak, nonatomic) IBOutlet UIButton *ui_addButton;
@property (weak, nonatomic) IBOutlet UIButton *ui_deleButton;
@property (weak, nonatomic) IBOutlet UILabel *ui_numberLabel;
@property (weak, nonatomic) IBOutlet UIView *ui_view;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *la_height;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *la_height1;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *la_height2;

@end
